package model;


/**
 * The goal of this class is to represent a contact
 * @author weissert
 *
 */
public class Contact {

//    first name and last name
//    home address
//    company address
//    personal phone (mobile, home)
//    professional phone (mobile, office)
//    home page
//    email (professional, personal)
//    photo
//    other (e.g. jabber, ICQ, etc.)
//    other field you feel like.
	
	private String fname; // first name
	private String lname; // last name
	private String group;
	private String homeAdd; // home address
	private String companyAdd; // company address
	private String homePhone; // home phone
	private String mobilePhone; // mobile phone
	private String professionalPhone; // professionnal phone
	private String emailPerso; // email personal
	private String emailProf; // email professional
	private String homePage; // web page
	private String picture;
	
	/**
	 * this is the constructor for the class 
	 * @param fname
	 * @param lname
	 * @param homeAdd
	 * @param companyAdd
	 * @param homePhone
	 * @param mobilePhone
	 * @param professionalPhone
	 * @param emailPerso
	 * @param emailProf
	 */
	public Contact(String fname, String lname, String group, String homeAdd,
			String companyAdd, String homePhone, String mobilePhone,
			String professionalPhone, String emailPerso, String emailProf, String homePage, String picture) {
		this.fname = fname;
		this.lname = lname;
		this.group = group;
		this.homeAdd = homeAdd;
		this.companyAdd = companyAdd;
		this.homePhone = homePhone;
		this.mobilePhone = mobilePhone;
		this.professionalPhone = professionalPhone;
		this.emailPerso = emailPerso;
		this.emailProf = emailProf;
		this.homePage = homePage;
		this.picture = picture;
	}



	/**
	 * @return the picture
	 */
	public String getPicture() {
		return picture;
	}



	/**
	 * @param picture the picture to set
	 */
	public void setPicture(String picture) {
		this.picture = picture;
	}



	/**
	 * @return the group
	 */
	public String getGroup() {
		return group;
	}



	/**
	 * @param group the group to set
	 */
	public void setGroup(String group) {
		this.group = group;
	}



	/**
	 * here we will get the first name of the contact
	 * @return
	 */
	public String getFname() {
		return fname;
	}
	
	/**
	 * here we will set the first name of the contact
	 * @param fname
	 */
	public void setFname(String fname) {
		this.fname = fname;
	}
	
	/**
	 * here we will get the last name of the contact
	 * @return
	 */
	public String getLname() {
		return lname;
	}
	
	/**
	 * here we will set the last name of the contact
	 * @param lname
	 */
	public void setLname(String lname) {
		this.lname = lname;
	}
	
	/**
	 * here we will get the home address of the contact
	 * @return
	 */
	public String getHomeAdd() {
		return homeAdd;
	}
	
	/**
	 * here we will set the home address of the contact
	 * @param homeAdd
	 */
	public void setHomeAdd(String homeAdd) {
		this.homeAdd = homeAdd;
	}
	
	/**
	 * here we will get the company address of the contact
	 * @return
	 */
	public String getCompanyAdd() {
		return companyAdd;
	}
	
	/**
	 * here we will set the company address of the contact
	 * @param companyAdd
	 */
	public void setCompanyAdd(String companyAdd) {
		this.companyAdd = companyAdd;
	}
	
	/**
	 * here we will get the home phone of the contact
	 * @return
	 */
	public String getHomePhone() {
		return homePhone;
	}
	
	/**
	 * here we will set the home phone of the contact
	 * @param homePhone
	 */
	public void setHomePhone(String homePhone) {
		this.homePhone = homePhone;
	}
	
	/**
	 * here we will get the mobile phone of the contact
	 * @return
	 */
	public String getMobilePhone() {
		return mobilePhone;
	}
	
	/**
	 * here we will set the mobile phone of the contact
	 * @param mobilePhone
	 */
	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}
	
	/**
	 * here we will get the professional phone of the contact
	 * @return
	 */
	public String getProfessionalPhone() {
		return professionalPhone;
	}
	
	/**
	 * here we will set the professional phone of the contact
	 * @param professionalPhone
	 */
	public void setProfessionalPhone(String professionalPhone) {
		this.professionalPhone = professionalPhone;
	}
	
	/**
	 * here we will get the personal email of the contact
	 * @return
	 */
	public String getEmailPerso() {
		return emailPerso;
	}
	
	/**
	 * here we will set the personal email of the contact
	 * @param emailPerso
	 */
	public void setEmailPerso(String emailPerso) {
		this.emailPerso = emailPerso;
	}
	
	/**
	 * here we will get the professional email of the contact
	 * @return
	 */
	public String getEmailProf() {
		return emailProf;
	}
	
	/**
	 * here we will get the professional email of the contact
	 * @param emailProf
	 */
	public void setEmailProf(String emailProf) {
		this.emailProf = emailProf;
	}



	/**
	 * @return the homePage
	 */
	public String getHomePage() {
		return homePage;
	}



	/**
	 * @param homePage the homePage to set
	 */
	public void setHomePage(String homePage) {
		this.homePage = homePage;
	}
	

}
